package me.itsoo.artemis.framework.ioc.lang;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 注解配置匹配器
 *
 * @author zxy
 * @version 0.0.1
 * @since 2023/5/23
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Matches {

    /**
     * 表达式规则
     *
     * @return Pattern
     */
    String value() default "";

}
